package ooday02;

public class Dog extends Animal{
    Dog(String name,int age,String color,String food){
        super(name,age,color,food);
    }
    void lookHome(){
        System.out.println(name+"在看家");
    }
    void eat(){
        super.eat();
        System.out.println(food);
    }

}
